package com.newlink.building.secret.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.newlink.building.common_base.model.bean.DeviceData
import com.newlink.building.secret.R

/**
 * Created by xiaodong on 2023/12/29.
 */
class Module_Secret_DevicePickAdapter(data: MutableList<DeviceData>) :
    BaseQuickAdapter<DeviceData, BaseViewHolder>(R.layout.item_device_pick, data) {

    init {
        addChildClickViewIds(R.id.container_device_pick)
    }

    override fun convert(holder: BaseViewHolder, item: DeviceData) {
        holder.setText(R.id.tv_deviceName, item.devName)
    }
}